package com.free4k.hss.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

/**
 * (PoemArticle)表实体类
 *
 * @author makejava
 * @since 2025-06-27 03:26:00
 */

public class PoemArticle extends Model<PoemArticle> {

    private Integer id;

    private String authorName;

    private String dynasty;

    private String poemTitle;

    private String poemContent;

    private Date createTime;

    private Date updateTime;

    private String notes;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getDynasty() {
        return dynasty;
    }

    public void setDynasty(String dynasty) {
        this.dynasty = dynasty;
    }

    public String getPoemTitle() {
        return poemTitle;
    }

    public void setPoemTitle(String poemTitle) {
        this.poemTitle = poemTitle;
    }

    public String getPoemContent() {
        return poemContent;
    }

    public void setPoemContent(String poemContent) {
        this.poemContent = poemContent;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PoemArticle{" +
                "id=" + id +
                ", authorName='" + authorName + '\'' +
                ", dynasty='" + dynasty + '\'' +
                ", poemTitle='" + poemTitle + '\'' +
                ", poemContent='" + poemContent + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", notes='" + notes + '\'' +
                '}';
    }

}

